package com.itawei.d3_threadmethod;

public class MyRuunable implements Runnable{
    @Override
    public void run() {
        int sum = 0;
        for (int i = 0; i < 20; i++) {
            Thread t = Thread.currentThread();
            System.out.println(t.getName());
        }
    }
}
